package cn.edu.paisi.mapper;

import cn.edu.paisi.entity.Subject;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-05
 */
public interface SubjectMapper extends BaseMapper<Subject> {
	
	@Select("select count(*) from subject where test_id=#{testId}")
	public Integer getCounts(Integer testId);

}
